﻿using BunnyEater.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.Traceable
{
    /// <summary>
    /// 屠宰表
    /// </summary>
    [Table("Butchery")]
    public class Butchery : BaseEntity
    {
        /// <summary>
        /// 物料Id
        /// </summary>
        public string? MaterialId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? ButcheryNo { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime FactoryDate { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime ButcheryDate { get; set; }
        /// <summary>
        /// 到厂均重
        /// </summary>
        public int Weight { get; set; }

    }
}
